import request from '@/utils/request'
//添加车辆
export function sqCar_add(data) {
return request({
url: '/api/sqCar/add',
method: 'post',
data
})
}
//修改车辆
export function sqCar_update(data) {
return request({
url: '/api/sqCar/update',
method: 'post',
data
})
}
//删除车辆
export function sqCar_delete(data) {
return request({
url: '/api/sqCar/delete/' + data.id,
method: 'post',
data
})
}
//车辆详情
export function sqCar_info(param) {
return request({
url: '/api/sqCar/info/' + param.id,
method: 'get',
param
})
}
//车辆分页列表
export function sqCar_getPageList(data) {
return request({
url: '/api/sqCar/getPageList',
method: 'post',
data
})
}
